package cn.xclink.kernel.service;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.xclink.common.mapper.BaseMapper;
import cn.xclink.common.service.BaseService;
import cn.xclink.kernel.entity.UserRole;
import cn.xclink.kernel.mapper.UserRoleMapper;

@Service
public class UserRoleService extends BaseService<UserRole> {

	@Autowired
	private UserRoleMapper mapper;
	
	@Override
	public BaseMapper<UserRole> getMapper() {
		return mapper;
	}
	
	@Override
	public List<UserRole> find(UserRole record) {
		return mapper.selectExt(record);
	}
}
